ADISK4.EXE
==========

ADISK4 is a new version of ADISK designed to be integrated with 
other software - it copies files to and from Akai floppy disks
without decoding, allowing access to all file types and all 
parameters such as sample loops and tuning.

For further information on ADISK and Akai disks in general, see
http://www.abel.co.uk/~maxim/akai/


ADISK4 Command Line  
-------------------

ADISK4
  Gives a listing of the following commands:

ADISK4 d
  List directory of Akai disk to ADISK4.LOG file.

ADISK4 r123 "AKAINAME" DOSNAME.EXT
  Copy file type 123 from Akai disk. 
  The file type number is shown in the directory listing.

ADISK4 w123 DOSNAME.EXT "AKAINAME"
  Copy file type 123 to Akai disk.

ADISK4 f3 "LABEL"
  Format S3000 high density disk with 12-character label.
  f9 and f1 can also be used to format S950 and S1000 disks.
    
ADISK4 i
  Copy whole Akai disk to an image file (adisk4.img).
  Current version assumes high density disks.

ADISK4 B: ...
  Use floppy drive B: with the above commands.


How to use ADISK4 from other applications
-----------------------------------------
When called from a Windows application, a .PIF file should
be used to ensure ADISK4 does not suspend, and the DOS window
closes automatically when the program terminates.

To call ADISK4 from another application, delete any ADISK4.LOG
file, shell to ADISK4 with the required command line, and wait
for a new ADISK4.LOG to be written.

ADISK4.LOG contains a text string describing the result of the
operation - usually "Finished!" but possibly an error mesage:

  No Akai disk found!
  Disk is write protected!
  Disk is full!
  Disk Error!
  File Error!
  File not found!

When "ADISK4 d" is successful ADISK4.LOG contains a directory
listing in the following format:

  Akai S3000 HIGH DENSITY "NOT NAMED   "
  REAL DRUMS  	240	1536
  REAL KICK2  	243	25912
  REAL KICK1  	243	26512
  REAL KICK3  	243	25492

Where the sampler family will be S900, S1000 or S3000. The 
numbers following the filenames are the ASCII code describing
the file type (which are used to select files when reading and
writing) and the file length in bytes.  The file type depends
on the sampler family, but the codes are related to sensible
ASCII characters such as 'S' for sample and 'P' for program - 

Remember that ADISK4 is a DOS program, so should not be passed
long filenames as arguments - it is probably best to use 
temporary files in ADISK4's own directory.

The command "ADISK4 i" writes an image of the floppy disk to a 
file "ADISK4.IMG".  This is very slow so should only be used
for rescuing information from corrupt disks.


---
Copyright(c)1996-1999 Paul Kellett (paul.kellett@maxim.abel.co.uk)

ADISK4.EXE is distributed free for individual use from 
http://www.abel.co.uk/~maxim/ but must not be distributed
from any other source or as part of other software applications
without permission. The software is supplied 'as is' with no warranty.
